﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LimpaGaragem.BLL.Product
{
    public class ProductFlaggedType
    {
        /// <summary>
        /// Return list of product flagged type
        /// </summary>
        /// <returns></returns>
        public List<LimpaGaragem.Model.Product.ProductFlaggedType> GetListOfProductFlaggedType()
        {
            try
            {
                return new LimpaGaragem.DAO.Product.ProductFlaggedType().GetListOfProductFlaggedType();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        /// <summary>
        /// Return data of product flagged type
        /// </summary>
        /// <returns></returns>
        public LimpaGaragem.Model.Product.ProductFlaggedType GetProductFlaggedType(int IDProductFlaggedType)
        {
            try
            {
                return new LimpaGaragem.DAO.Product.ProductFlaggedType().GetProductFlaggedType(IDProductFlaggedType);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
